/*
 * Copyright (c) 2011 Jean-Marc Perronne
 * Ensisa, 12 rue des Freres Lumieres, F-68093 Mulhouse cedex
 * All rights reserved.
 *
 * The copyright of this software is owned by Werner Randelshofer. 
 * You may not use, copy or modify this software, except in  
 * accordance with the license agreement you entered into with  
 * Jean-Marc Perronne. For details see accompanying license terms. 
 */

package fr.uha.ensisa.jmp.drone.navdata;

import java.nio.ByteBuffer;

public class Vector31
{
	public float x;
	public float y;
	public float z;

	public Vector31()
	{
	}
	
	public Vector31(ByteBuffer data)
	{
		this.update(data);
	}

	public void update(ByteBuffer data)
	{
		this.x = data.getFloat();
		this.y = data.getFloat();
		this.z = data.getFloat();
	}

}
